package com.tentact.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.tentact.controller.MeetingController;
import com.tentact.vo.Meeting;

import tk.mybatis.mapper.common.Mapper;

public interface MeetingMapper extends Mapper<Meeting> {
	
	//搜索会议数量
	int selectMeetingCountPage(@Param("meeting")Meeting meeting,
			@Param("reservationtime")Date reservationtime,@Param("begintime")Date begintime);
	
	//搜索会议
	List<Meeting> selectMeetingPage (@Param("meeting")Meeting meeting,
			@Param("reservationtime")Date reservationtime,@Param("begintime")Date begintime,@Param("page")PageUtil page);
	Meeting selectByMeetingId(Integer meetingid);
	
	List<Meeting> selectByReservationistId(Integer reservationistId);

}
